from django.db import models

# Create your models here.
class StarInfo(models.Model):
    id = models.AutoField(primary_key=True)
    user_id = models.IntegerField('用户ID')
    books_id = models.IntegerField('书籍ID')

    def __str__(self):
        return str(self.id)
    class Meta:
        verbose_name = '收藏数据'
        verbose_name_plural = verbose_name